Creating new Alphabets for MorseTrainer If you want to create a new alphabet for MorseTrainer you must use ResEdit, a program usually used by developers only. An alphabet definition is contained in a "CWAD"-resource. The name of the resource is also the name of the alphabet. The ID of the resource should be 1000+country number (7 for Sweden) if the alphabet is localized for a specific country. MorseTrainer uses the alphabet corresponding to the system used. That is if a Swedish system is used the CWAD resource with ID=1007 will be used as default (if nothing else has been selected). If no localized alphabet can be found the international CWAD will be used having ID=999. If you create an alphabet which is not intended for any special country give the resource an ID above 2000. The CWAD resource consists of plain text where each line describes a Morse character. Example: A •- B -••• The first character is the ASCII character and the sequence of "-" (DAH) and "•" (DIT) describes the corresponding Morse code. Two more fields can be used if needed: A •- "This is A" "A" B -••• "This is B" "B" When a third string exists (within " ") the fourth must also exist even if it is empty. The third string explains the meaning of the character and the fourth string explains the keys to press (Ex: option-cmd-Q). It's OK to write: A •- A •- "" "" A •- "" "A" A •- "This is A" "" A •- "This is A" "A" It's NOT OK to write: A •- "This is A" A •- "" Before you start to experiment with the CWAD resource take a look at the existing alphabets! Please send questions, comments, suggestion and nice postcards to: Lars Sundström Department of Applied Electronics Lunds University P.O. Box 118 221 00 LUND Sweden phone: +46 46 10 95 13 fax: +46 46 12 99 48 email: sund@tde.lth.se